package com.example.javatwo.pojo.xs.thy;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;

public class salemain {
	public String custName;	/*客户*/
	@JsonFormat(pattern="yyyy-MM-dd",timezone="GMT",locale="zh")
	public Date billDate;		/*单据日期*/
	public String custAddress;	/*送货地址*/
	public String billNo;/*单据号码*/
	public String saleClassName;	/*销售出库类型*/
	public String currId;	/*币别*/
	public String priceofTax;	/*单价是否含税*/
	public double exchRate;/*汇率*/
	public String wareName;	/*仓库*/
	public String hasForeignTrade;/*国外贸易*/
	public String voucherNo;	/*凭证编号*/
	public String salesId;	/*业务人员*/
	public String maker;	/*制单人员*/
	public String departName;	/*所属部门*/
	public String permitter;/*复核人员*/
	public String projectName;	/*所属项目*/
	List<salesub> salesubs=new ArrayList<salesub>();
	public String getCustName() {
		return custName;
	}
	public void setCustName(String custName) {
		this.custName = custName;
	}
	public Date getBillDate() {
		return billDate;
	}
	public void setBillDate(Date billDate) {
		this.billDate = billDate;
	}
	public String getCustAddress() {
		return custAddress;
	}
	public void setCustAddress(String custAddress) {
		this.custAddress = custAddress;
	}
	public String getBillNo() {
		return billNo;
	}
	public void setBillNo(String billNo) {
		this.billNo = billNo;
	}
	public String getSaleClassName() {
		return saleClassName;
	}
	public void setSaleClassName(String saleClassName) {
		this.saleClassName = saleClassName;
	}
	public String getCurrId() {
		return currId;
	}
	public void setCurrId(String currId) {
		this.currId = currId;
	}
	public String getPriceofTax() {
		return priceofTax;
	}
	public void setPriceofTax(String priceofTax) {
		this.priceofTax = priceofTax;
	}
	public double getExchRate() {
		return exchRate;
	}
	public void setExchRate(double exchRate) {
		this.exchRate = exchRate;
	}
	public String getWareName() {
		return wareName;
	}
	public void setWareName(String wareName) {
		this.wareName = wareName;
	}
	public String getHasForeignTrade() {
		return hasForeignTrade;
	}
	public void setHasForeignTrade(String hasForeignTrade) {
		this.hasForeignTrade = hasForeignTrade;
	}
	public String getVoucherNo() {
		return voucherNo;
	}
	public void setVoucherNo(String voucherNo) {
		this.voucherNo = voucherNo;
	}
	public String getSalesId() {
		return salesId;
	}
	public void setSalesId(String salesId) {
		this.salesId = salesId;
	}
	public String getMaker() {
		return maker;
	}
	public void setMaker(String maker) {
		this.maker = maker;
	}
	public String getDepartName() {
		return departName;
	}
	public void setDepartName(String departName) {
		this.departName = departName;
	}
	public String getPermitter() {
		return permitter;
	}
	public void setPermitter(String permitter) {
		this.permitter = permitter;
	}
	public String getProjectName() {
		return projectName;
	}
	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}
	public List<salesub> getSalesubs() {
		return salesubs;
	}
	public void setSalesubs(List<salesub> salesubs) {
		this.salesubs = salesubs;
	}
	public salemain() {
		super();
	}
	public salemain(String custName, Date billDate, String custAddress, String billNo, String saleClassName,
			String currId, String priceofTax, double exchRate, String wareName, String hasForeignTrade,
			String voucherNo, String salesId, String maker, String departName, String permitter, String projectName,
			List<salesub> salesubs) {
		super();
		this.custName = custName;
		this.billDate = billDate;
		this.custAddress = custAddress;
		this.billNo = billNo;
		this.saleClassName = saleClassName;
		this.currId = currId;
		this.priceofTax = priceofTax;
		this.exchRate = exchRate;
		this.wareName = wareName;
		this.hasForeignTrade = hasForeignTrade;
		this.voucherNo = voucherNo;
		this.salesId = salesId;
		this.maker = maker;
		this.departName = departName;
		this.permitter = permitter;
		this.projectName = projectName;
		this.salesubs = salesubs;
	}
	

}
